package com.by.pojo.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("字典实体类")
public class Dict {

    private Integer id;

    private String code;

    @NotBlank(message = "字典名称不能为空")
    private String name;

    private Integer pid;
    private Integer sort;

//    private String updateTime;
}
